home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir31
/
pasutl18.zip
/
PROAS.DOC
< prev
next >
Wrap
Text File
|
1993-03-10
|
3KB
|
95 lines
PROAS - Pro Audio Spectrum/CDPC Initialization Program
Syntax
proas B:# D:# Q:# S:#,###,#,# M:#,###,# J:# V:# T:# W:# G U X
The syntax for the proas.exe program is the same as
the syntax for the mvsound.sys device driver.
Options
B:# - #= PAS Base Port Address mvsound default: 388h
D:# - #= DMA Channel mvsound default: 1
Q:# - #= IRQ Channel mvsound default: 7
S:# - #= SB on/off,port,dma,irq mvsound default: 1,220h,1,5
M:# - #= MPU on/off,port,irq mvsound default: 0,330h,2
J:# - #= Joystick on/off, 1/0 mvsound default: 1
V:# - #= Volume Level, 0-100 (%) mvsound default: 50
T:# - #= Clock Source, 0/1, 14/28 MHz mvsound default: 0
W:# - #= Allow Warm Boot, 1/0, on/off mvsound default: 1
G - Increase Gain mvsound default: off
U - Unload driver after configuration (not used in proas.exe)
X - display PAS configuration found
R - reset board to uninitialized state (not used in mvsound.sys)
Operation
The "proas.exe" program is the exact same code as the "mvsound.sys"
device driver, except assembled to be a run-time executable.
Use the program to locate and initialize the Pro Audio Spectrum/CDPC,
reconfigure such, or to simply report the existing configuration.
The program reports the Chip and Board Revision numbers, and its
determination of the hardware configuration.
Only those options specified are used; default values are not used in
their absence to eliminate unwanted reconfiguring.
Use this program to manually program and test DMA and IRQ channel
combinations.
Notes
The device driver "mvsound.sys" maintains a state table in order to
program the hardware since most registers are write-only. Because
the program as a standalone-executable can not now know the state of
the hardware, only those parameters on the command line are processed
(as opposed to setting default values for missing parameters, as the
device driver version of the program does).
This means that MPU and SB parameters are displayed as
"zeroes" if they are not specified in the command, because
proas.exe can not read the hardware to determine their
values.
It does detect, though, that MPU and SB emulation exists,
and so displays the header information.
So, no mixer programming is done if the 'V:' option is not
given, and then only the gross volume is affected after
initializing all devices to their default values.
Use care with this program. Specifically, when the device driver or
the TSR is loaded and the hardware is reprogrammed, operation of a
program that depends on values retrieved from either will fail.
Usually the board need merely be reprogrammed to the previous values
to restore operation.
Also when resetting, then initializing only the volume (which wakes
up the board but does not program any of the other hardware),
attempts to use the hardware usually fail dramatically. Merely reboot
and fully program the hardware before attempting pcm dma transfer.
Copyright (c) 1992. Media Vision, Inc. All Rights Reserved.
Programmers: Doug Cody, Bart Crane, Ken Nicholson